package cn.edu.abtu.service;

import cn.edu.abtu.entity.SysDepartment;
import cn.edu.abtu.utils.AjaxResult;
import cn.edu.abtu.vo.query.DepartmentQueryVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SysDepartmentService extends IService<SysDepartment> {

    // 查询部门菜单列表
    List<SysDepartment> getDepartmentList(DepartmentQueryVo departmentQueryVo);

    // 查询上级部门列表
    List<SysDepartment> getParentDepartment();

    public AjaxResult removeById(Long id);

}
